package commonutils;

import page.Lang;

/**
 * Created by IntelliJ IDEA.
 * User: Evgeniy Krasko
 * Date: 20.11.11
 * Time: 21:19
 */
public class MyUrlUtils {
    public static String getApiUrl(Lang lang) {
        return "http://" + lang.getDomainPrefix() + ".wikipedia.org/w/api.php";
    }

    public static String getIndexPhpUrl(Lang lang) {
        return "http://" + lang.getDomainPrefix() + ".wikipedia.org/w/index.php";
    }
}
